package com.traffic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.traffic.entity.Leaderboard;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;
import java.util.Map;

public interface LeaderboardService extends IService<Leaderboard>{

    public List<Object> queryTargetLeaderboard(String type);

    public Object queryMyTypeRank(String type ,Long userid);

}
